package Buffered0;

import java.io.BufferedWriter;
import java.io.FileWriter;
import java.io.IOException;

public class BufferedWriterTest {
    public static void main(String[] args) throws IOException {
        FileWriter fw = new FileWriter("./bb.txt");
        BufferedWriter bw = new BufferedWriter(fw);
        bw.write("我是中国人");
        bw.flush();
        bw.close();
    }
}
